package com.youdianda.dto;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class SysMenuDto implements Serializable {
    //组件路径
    private String component;
    //图标名称
    private String icon;
    //是否缓存，0否，1是
    private String isCache;
    //是否外链，0否，1是
    private String isLink;
    //是否显示，0否，1是
    private String isShow;
    //权限标识
    private String mark;
    //路由菜单地址
    private String path;
    //父级id
    private String pid;
    //重定向地址
    private String redirect;
    //排序序号
    private String sort;
    //菜单文字
    private String title;
    //菜单类型，1菜单，2按钮
    private String typr;
}
